<template v-if="current.state == 'check'">
	<div class="col-sm-12 col-md-6">
		<h4 class="text-center" v-once><b>所有的播放列表</b></h4>
		<br/>
		<div class="list-group">
			<template v-for="(item, index) in allPlayLists">
				<button v-on:click="selectPlayList(index)"
					:class="item.lid==current.selected?'list-group-item active':'list-group-item'">
					{{item.name}} &nbsp;&nbsp;&nbsp;
					<small v-if="item.desc != null"><em class="text-muted">{{item.desc}}</em></small>
				</button>
			</template>
			
			<button class="list-group-item">
				<span class="text-success"><span class="glyphicon glyphicon-plus"></span> 新建一个播放列表 （未完成）</span>
			</button>
		</div>
	</div>
	<div class="col-sm-12 col-md-6" v-if="current.selected != -1">
		<h4 class="text-center"><b>操作</b> （未完成）</h4>
		<br/>
		<button class="btn btn-success"><span class="glyphicon glyphicon-pencil"></span> 修改</button>
		<button class="btn btn-danger"><span class="glyphicon glyphicon-remove"></span> 删除</button>
		<hr/>
		<h4 class="text-center"><b>{{allPlayLists[current.selectedIndex].name}}</b>中的工程</h4>
		<br/>
		<div class="list-group">
			<template v-for="item in projects">
				<div class="list-group-item">
					{{item.pname}}
				</div>
			</template>
		</div>
	</div>
</template>